﻿<Transfer @bind-Items="@Items" OnItemsChanged="@OnItemsChanged"
          LeftPanelText="候选项列表" RightPanelText="已选项列表" />

@code{
    private IEnumerable<SelectedItem>? Items { get; set; }

   protected override void OnInitialized()
   {
       base.OnInitialized();

       Items = Enumerable.Range(1, 20).Select(i => new SelectedItem()
       {
           Text = $"备选 {i:d2}",
           Value = i.ToString()
       });
   }
}
